package com.yy.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 姚欣宏
 * @since 2023-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_appointment_record")
public class AppointmentRecordDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 任务ID
     */
    private Integer taskId;

    /**
     * 医生姓名
     */
    @TableField("docName")
    private String docname;

    /**
     * 医院名称
     */
    @TableField("hospitalName")
    private String hospitalname;

    /**
     * 医院编号
     */
    @TableField("hospitalCode")
    private String hospitalcode;

    /**
     * 挂号日期
     */
    @TableField("admDate")
    private Date admdate;

    /**
     * 挂号时段
     */
    @TableField("admRange")
    private Integer admrange;

    /**
     * 挂号时段名称
     */
    @TableField("admRangeName")
    private String admrangename;

    /**
     * 挂号时间范围
     */
    @TableField("admTimeRange")
    private String admtimerange;

    /**
     * 科室名称
     */
    @TableField("deptName")
    private String deptname;

    /**
     * 渠道代码
     */
    @TableField("channelCode")
    private String channelcode;

    /**
     * 渠道名称
     */
    @TableField("channelName")
    private String channelname;

    /**
     * 系统挂号ID
     */
    @TableField("sysAppointmentId")
    private String sysappointmentid;

    /**
     * 挂号提示
     */
    @TableField("appointmentTips")
    private String appointmenttips;

    /**
     * 自动取消分钟数
     */
    @TableField("appointAutoCancelMin")
    private Integer appointautocancelmin;

    /**
     * 挂号状态
     */
    @TableField("appointStatus")
    private Integer appointstatus;

    /**
     * 是否取消
     */
    @TableField("isCancel")
    private Integer iscancel;

    /**
     * 是否回退
     */
    @TableField("isBack")
    private Integer isback;

    /**
     * 是否待支付
     */
    @TableField("isToPay")
    private Integer istopay;

    /**
     * 取消时间
     */
    @TableField("cancleTime")
    private Date cancletime;

    /**
     * 取消类型
     */
    @TableField("cancleType")
    private String cancletype;

    /**
     * 挂号类型
     */
    @TableField("appointmentType")
    private Integer appointmenttype;

    /**
     * 患者姓名
     */
    @TableField("patientName")
    private String patientname;

    /**
     * 系统排班ID
     */
    @TableField("sysScheduleId")
    private String sysscheduleid;

    /**
     * 系统时间安排ID
     */
    @TableField("sysTimeArrangeId")
    private String systimearrangeid;

    /**
     * 就诊卡ID
     */
    @TableField("cardId")
    private String cardid;

    /**
     * 排班历史ID
     */
    @TableField("scheduleHisId")
    private String schedulehisid;

    /**
     * 医生ID
     */
    @TableField("doctorId")
    private String doctorid;

    /**
     * 挂号流水号
     */
    @TableField("appointmentNo")
    private String appointmentno;

    /**
     * 挂号流水号
     */
    @TableField("admId")
    private String admid;

    /**
     * 就诊方式
     */
    @TableField("takeMethod")
    private Integer takemethod;

    /**
     * 微信停保标志
     */
    @TableField("wxInsuStop")
    private Integer wxinsustop;

    /**
     * 节点代码
     */
    @TableField("nodeCode")
    private String nodecode;


}
